// pages/senior11/senior11.js
// pages/senior5/senior5.js
// pages/senior4/senior4.js
Page({
  data: {
    active: 0,
    date: [],
    ratings:{},
    viewDetail: {}
  },
  onLoad: function (options) {
    
  },
  // tab切换
  productClick() {
    this.setData({
      active: 0
    })
  },
  detailClick() {
    this.setData({
      active: 1
    })
  },
  ratingClick() {
    this.setData({
      active: 2
    })
  }
})